package com.pattern.strategy;

import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;

@RequiredArgsConstructor
@Component(StrategyEnum.IN_CODE)
public class InData implements Strategy{
    @Override
    public boolean submit() {
        System.out.println("这是入库的提交,hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh");
        return true;
    }

    @Override
    public boolean audit() {
        return false;
    }

    @Override
    public boolean confirm() {
        return false;
    }

    @Override
    public boolean finish() {
        return false;
    }
}
